<?php
include 'include/header.php';
?>
<body class=" safesearch-installed" style="background-color:#fff">
	<div class="container-fluid">
		<form action="#" method="post" >
		<table>
		<?php
			$nomor = 1;
			echo '<tr>';
			echo '<td></td>';
			foreach($pertanyaan as $pertanyaan)
			{
				echo '<td>'.$pertanyaan['pertanyaan'].'</td>';	
			}
			echo '</tr>';
			
			foreach($data_responden as $responden)
			{
			echo '<tr>';
			echo '<td>'.$nomor++.'</td>';
				foreach($responden['data_jawaban'] as $jawaban)
				{
					echo '<td>'.$jawaban['jawaban'].'</td>';
				}
			echo '</tr>';
			}
		?>
		</table>
		</form>
	</div>
</body>
<?php
include 'include/footer.php';
?>